package si.yun.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import si.yun.entity.SyCarousel;
import si.yun.entity.SyCarouselExample;

public interface SyCarouselMapper {

    List<Map<String,Object>> selCarousel(Map<String,Object> map);
    //查看轮播图
    List<Map<String, Object>> selCarouselPictures(@Param("SyCarousel")Map<String ,Object> SyCarousel);

    int DeleteCarousel(int carousel_id);

    //修改轮播图上下线
    int updCarouselDisplay(Integer display, Integer carousel_id);
    //修改轮播图
    int updCarousel(@Param("SyCarousel")Map<String ,Object> syCarousel);
    //添加轮播图
    int addCarousel(@Param("SyCarousel") Map<String,Object> syCarousel,@Param("backImgNewName1") String backImgNewName1);
    
    /*
     * @Description : 查询轮播图图片
     * @Return : java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @Date : 2022/1/7 16:29
     */
    List<Map<String,Object>> selCarouselImg(@Param("id") Integer id);
}